package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点明细对象 wms_inventory_count_detail
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class WmsInventoryCountDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点明细ID */
    private Long id;
    private Long deptId;

    @Override
    public Long getDeptId() {
        return deptId;
    }

    @Override
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    /** 盘点单ID */
    @Excel(name = "盘点单ID")
    private Long inventoryCountId;

    /** 物料ID */
    @Excel(name = "物料ID")
    private Long itemId;

    /** 货架ID */
    @Excel(name = "货架ID")
    private Long rackId;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private BigDecimal countedQuantity;

    /** 实际库存数量 */
    @Excel(name = "实际库存数量")
    private BigDecimal actualQuantity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryCountId(Long inventoryCountId) 
    {
        this.inventoryCountId = inventoryCountId;
    }

    public Long getInventoryCountId() 
    {
        return inventoryCountId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setRackId(Long rackId) 
    {
        this.rackId = rackId;
    }

    public Long getRackId() 
    {
        return rackId;
    }
    public void setCountedQuantity(BigDecimal countedQuantity) 
    {
        this.countedQuantity = countedQuantity;
    }

    public BigDecimal getCountedQuantity() 
    {
        return countedQuantity;
    }
    public void setActualQuantity(BigDecimal actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public BigDecimal getActualQuantity() 
    {
        return actualQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryCountId", getInventoryCountId())
            .append("itemId", getItemId())
            .append("rackId", getRackId())
            .append("countedQuantity", getCountedQuantity())
            .append("actualQuantity", getActualQuantity())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
